<?php
$titleFlag = __d('tag', 'Sky the Mobile shop');
?>
<!DOCTYPE html>
<html>
<head>
    <?php echo $this->Html->charset(); ?>
    <!--shop title: page title-->
    <title>
        <?php echo $titleFlag ?>:
        <?php echo $this->fetch('title'); ?>
    </title>
    <?php
    echo $this->Html->meta('icon');
    echo $this->Html->css('style');
    echo $this->fetch('meta');
    echo $this->fetch('css');
    echo $this->fetch('script');
    ?>
    <?php echo $this->App->js(); ?>

    <?php echo $this->fetch('css'); ?>
    <?php echo $this->fetch('script'); ?>
</head>

<body class="page sidebar-content-sidebar">
    <div id="wrap">
        <div id="header">
            <div class="wrap">
                <div id="title-area">
                    <p id="title">

                            <?php echo $this->Html->image('../images/logo.png', array('alt' => 'Sky the Mobile shop', 'border' => '0', 'data-src' => 'holder.js/100%x100', 'controller'=>'IndexPage','action'=>'index_view')); ?>

                    </p>
                </div><!-- end #title-area -->
                <div class="main-nav">
                    <div id="nav-left">
                        <ul class="menu menu-primary">
                            <li><!-- current-menu-item current_page_item -->
                     <?php echo $this->Html->link(('Home Page'), array('controller' => 'indexpage', 'action' => 'index_view')); ?> 
                            </li>


                            <li class="drop">
                                  <a class="drop-a"  href="http://index-test/">Document</a>
                                    <div class="dropdownContain">
                                       <div class="dropOut">
                                         <div class="triangle"></div>
                                            <ul>
                                                <li><?php echo $this->Html->link(('Purchase'), array('controller' => 'purchases', 'action' => 'index')); ?> </li>
                                                <li><?php echo $this->Html->link(('Sale'), array('controller' => 'Sales', 'action' => 'index')); ?> </li>
                                             </ul>
                                           </div>
                                      </div>
                            </li>

                            <li class="drop">
                                  <a class="drop-a"  href="http://index-test/">Partner</a>
                                    <div class="dropdownContain">
                                       <div class="dropOut">
                                         <div class="triangle"></div>
                                            <ul>
                                              <li><?php echo $this->Html->link(('Account'), array('controller' => 'accounts', 'action' => 'index')); ?> </li>
                                              <li><?php echo $this->Html->link(('Customer'), array('controller' => 'customers', 'action' => 'index')); ?> </li>
                                              <li><?php echo $this->Html->link(('Employee'), array('controller' => 'employees', 'action' => 'index')); ?> </li>
                                              <li><?php echo $this->Html->link(('Vendor'), array('controller' => 'vendors', 'action' => 'index')); ?> </li>
                                              <li><?php echo $this->Html->link(('Manufacture'), array('controller' => 'manufactures', 'action' => 'index')); ?> </li>
                                              <li><?php echo $this->Html->link(('Warehouse'), array('controller' => 'warehouses', 'action' => 'index')); ?> </li>
                                             </ul>
                                           </div>
                                      </div>
                            </li>
                        </ul>
                    </div><div id="nav-right">
                        <ul class="menu menu-primary">

                            <li class="drop">
                                <a class="drop-a" href="http://index-test/">Mobile</a>
                                <div class="dropdownContain">
                                    <div class="dropOut">
                                        <div class="triangle"></div>
                                        <ul>
                                            <li><?php echo $this->Html->link(('Mobile'), array('controller' => 'modells', 'action' => 'index')); ?></li>
                                            <li><?php echo $this->Html->link(('Mobile Base'), array('controller' => 'mobile_bases', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('OS'), array('controller' => 'operating_systems', 'action' => 'index')); ?> </li>
                                            </ul>
                                    </div>
                                </div>
                            </li>
                            <li class="drop">
                                <a class="drop-a" href="http://index-test/">Details</a>
                                <div class="dropdownContain">
                                    <div class="dropOut">
                                        <div class="triangle"></div>
                                        <ul>
                                            <li><?php echo $this->Html->link(('Battery Type'), array('controller' => 'battery_types', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Chipset'), array('controller' => 'chipsets', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Card Slot Type'), array('controller' => 'card_slot_types', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('GPU'), array('controller' => 'gps', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Screen Type'), array('controller' => 'screen_types', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Screen Resolution'), array('controller' => 'screen_resolutions', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Screen Standard'), array('controller' => 'screen_standards', 'action' => 'index')); ?> </li>
                                            <li><?php echo $this->Html->link(('Screen Size'), array('controller' => 'screen_sizes', 'action' => 'index')); ?> </li>
                                        </ul>
                                    </div>
                                </div>
                            </li>
                            <li>
                               <?php echo $this->Html->link(('Logout'), array('controller' => 'indexpage', 'action' => 'index_view')); ?>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div id="inner">
            <div id="content-sidebar-wrap">
                <?php echo $this->Session->flash(); ?>
                <?php echo $this->fetch('content'); ?>

            </div>
        </div>
        <div id="footer" class="footer">
            <div class="wrap">
                <p class="copyright">@2014 Web Development Project</p>
                <p class="creds">Mobile Shop</p><div style="display:none">
                </div>
            </div>
        </div>
</body>
</html>
